WCGQL\Helpers\Product S

Total Complexity 46
Dependencies 8
Dependents 9
Total lines 216
Lines of code 163
Logical lines of code 72
Comment lines 1
Methods 19
Properties 3

Methods 19

Method Rating Maintainability Complexity Lines of code
get_gallery()
S
51 6 26
to_schema()
S
48 3 32
getProductFromIdentifier()
S
61 4 12
getProductsOnSale()
S
57 3 16
get_sale_price()
S
66 4 7
get_regular_price()
S
66 4 7
getBySlug()
S
71 3 5
isAnyVariationInStock()
S
68 3 8
set_product()
S
71 2 5
set_description()
S
74 2 5
isProduct()
S
78 2 3
set_name()
S
74 2 5
getById()
S
74 2 4
get_product()
S
82 1 3
get_description()
S
73 1 6
get_name()
S
73 1 6
get_id()
S
81 1 3
getRelatedProducts()
S
68 1 7
__construct()
S
81 1 3